
<template>
  <div>
    <el-button
      size="small"
      type="danger"
      @click="drawer=true"
    >
      添加运费模板1
    </el-button>
    <el-drawer
      ref="drawer"
      title="添加运费模板"
      :visible.sync="drawer"
      size="450px"
      class="adjust-drawer preview-drawer"
    >
      <div class="preview-drawer__actions">
        <el-button>使用该模板</el-button>
        <el-button @click="onUpdate">编辑</el-button>
      </div>
    </el-drawer>
  </div>
</template>

<script>
export default {
  name: 'CreateFreightTemplate',
  data() {
    return {
      drawer: false
    }
  },
  computed: {},
  methods: {
    onUpdate() {
      this.dialogTableVisible = false
    }
  }
}
</script>

